.class public Lcom/melesta/payment/amazon/Request;
.super Ljava/lang/Object;
.source "Request.java"

# interfaces
.implements Lcom/melesta/payment/interfaces/IRequest;


# instance fields
.field private id:Ljava/lang/String;

.field private multiplier:F

.field private name:Ljava/lang/String;

.field private sku:Ljava/lang/String;

.field private final system:Lcom/melesta/payment/amazon/PaymentSystem;


# direct methods
.method public constructor <init>(Lcom/melesta/payment/amazon/PaymentSystem;)V
    .locals 0
    .parameter "system"

    .prologue
    .line 17
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 18
    iput-object p1, p0, Lcom/melesta/payment/amazon/Request;->system:Lcom/melesta/payment/amazon/PaymentSystem;

    .line 19
    return-void
.end method


# virtual methods
.method public getId()Ljava/lang/String;
    .locals 1

    .prologue
    .line 52
    iget-object v0, p0, Lcom/melesta/payment/amazon/Request;->id:Ljava/lang/String;

    return-object v0
.end method

.method public getMultiplier()F
    .locals 1

    .prologue
    .line 48
    iget v0, p0, Lcom/melesta/payment/amazon/Request;->multiplier:F

    return v0
.end method

.method public getName()Ljava/lang/String;
    .locals 1

    .prologue
    .line 23
    iget-object v0, p0, Lcom/melesta/payment/amazon/Request;->name:Ljava/lang/String;

    return-object v0
.end method

.method public getPaymentSystemName()Ljava/lang/String;
    .locals 1

    .prologue
    .line 71
    const-string v0, "amazon"

    return-object v0
.end method

.method public getSku()Ljava/lang/String;
    .locals 1

    .prologue
    .line 62
    iget-object v0, p0, Lcom/melesta/payment/amazon/Request;->sku:Ljava/lang/String;

    return-object v0
.end method

.method public getSystem()Lcom/melesta/payment/amazon/PaymentSystem;
    .locals 1

    .prologue
    .line 27
    iget-object v0, p0, Lcom/melesta/payment/amazon/Request;->system:Lcom/melesta/payment/amazon/PaymentSystem;

    return-object v0
.end method

.method public run()V
    .locals 1

    .prologue
    .line 32
    iget-object v0, p0, Lcom/melesta/payment/amazon/Request;->system:Lcom/melesta/payment/amazon/PaymentSystem;

    invoke-virtual {v0, p0}, Lcom/melesta/payment/amazon/PaymentSystem;->buy(Lcom/melesta/payment/amazon/Request;)V

    .line 33
    return-void
.end method

.method public setId(Ljava/lang/String;)Lcom/melesta/payment/amazon/Request;
    .locals 0
    .parameter "id"

    .prologue
    .line 56
    iput-object p1, p0, Lcom/melesta/payment/amazon/Request;->id:Ljava/lang/String;

    .line 57
    return-object p0
.end method

.method public setMultiplier(F)Lcom/melesta/payment/interfaces/IRequest;
    .locals 0
    .parameter "multiplier"

    .prologue
    .line 42
    iput p1, p0, Lcom/melesta/payment/amazon/Request;->multiplier:F

    .line 43
    return-object p0
.end method

.method public setName(Ljava/lang/String;)Lcom/melesta/payment/amazon/Request;
    .locals 0
    .parameter "name"

    .prologue
    .line 36
    iput-object p1, p0, Lcom/melesta/payment/amazon/Request;->name:Ljava/lang/String;

    .line 37
    return-object p0
.end method

.method public setSku(Ljava/lang/String;)V
    .locals 0
    .parameter "sku"

    .prologue
    .line 66
    iput-object p1, p0, Lcom/melesta/payment/amazon/Request;->sku:Ljava/lang/String;

    .line 67
    return-void
.end method
